﻿using System;
using System.Collections.Generic;

namespace DSAManager.Models.Input
{
    public class TaobaoOrderInfo
    {
        /// <summary>
        /// 订单号
        /// </summary>
        public string no { get; set; }
        /// <summary>
        /// 订单总金额
        /// </summary>
        public string totalfee { get; set; }
        /// <summary>
        /// 订单商品数量
        /// </summary>
        public string num { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string buyermessage { get; set; }
        /// <summary>
        /// 买家昵称
        /// </summary>
        public string buyernick { get; set; }
        /// <summary>
        /// 交易状态
        /// * TRADE_NO_CREATE_PAY(没有创建支付宝交易) 
        /// * WAIT_BUYER_PAY(等待买家付款) 
        /// * SELLER_CONSIGNED_PART(卖家部分发货) 
        /// * WAIT_SELLER_SEND_GOODS(等待卖家发货,即:买家已付款) 
        /// * WAIT_BUYER_CONFIRM_GOODS(等待买家确认收货,即:卖家已发货) 
        /// * TRADE_BUYER_SIGNED(买家已签收,货到付款专用) 
        /// * TRADE_FINISHED(交易成功) 
        /// * TRADE_CLOSED(付款以后用户退款成功，交易自动关闭) 
        /// * TRADE_CLOSED_BY_TAOBAO(付款以前，卖家或买家主动关闭交易) 
        /// * PAY_PENDING(国际信用卡支付付款确认中) 
        /// * WAIT_PRE_AUTH_CONFIRM(0元购合约中)
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 收件人
        /// </summary>
        public string receivername { get; set; }
        /// <summary>
        /// 收货人详细地址
        /// </summary>
        public string receiveraddress { get; set; }
        /// <summary>
        /// 收货人联系电话
        /// </summary>
        public string receivermobile { get; set; }
        /// <summary>
        /// 交易创建时间
        /// </summary>
        public string created { get; set; }

        public bool hasupload { get; set; }
        public string Source { get; set; }

        public List<TaobaoSunOrderInfo> orders { get; set; }
    }
}